package upms.api;

import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@AutoConfiguration
@ComponentScan("upms.api.fallback")
@EnableFeignClients("upms.api.feign")
@ConditionalOnExpression("!'upms-biz'.equals('${spring.application.name:}')")
public class OpenfeignApiAutoConfiguration {
}